package com.atguigu.gmall.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @Author:lyd
 * @Date:2023/8/14 23:22
 * @Version:1.0
 * @Description
 **/

//@EnableDiscoveryClient//开启服务注册和服务发现
//@EnableCircuitBreaker //开启断路保护（流量保护）
//@SpringBootApplication
@SpringCloudApplication
public class ServerGatewayApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServerGatewayApplication.class, args);
    }
}
